package com.plian.system.entity.bpa;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 财务绩效指标配置主表;
 *
 * @author : jiatp
 * @date : 2022-12-19
 */
@Data
@ApiModel(value = "财务绩效指标配置主表", description = "")
@TableName("bpa_financial_performance")
public class BpaFinancialPerformance implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(name = "主键", notes = "")
    @TableId
    private String id;
    /**
     * 指标id-绩效考评指标
     */
    @ApiModelProperty(name = "指标id", notes = "")
    private String indicatorsId;
    /**
     * 指标名称-绩效考评指标
     */
    @ApiModelProperty(name = "指标名称", notes = "")
    private String indicatorsName;
    /**
     * 指标类型code 行业型 标准型
     */
    @ApiModelProperty(name = "指标类型code", notes = "")
    private String dictIndicatorsCode;
    /**
     * 指标类型名称
     */
    @ApiModelProperty(name = "指标类型名称", notes = "")
    private String dictIndicatorsName;
    /**
     * 适用年份
     */
    @ApiModelProperty(name = "适用年份", notes = "")
    private String isYear;

    /**
     * 计分标准
     */
    @ApiModelProperty(name = "计分标准", notes = "")
    private String scoreStandard;


    /**
     * 状态
     */
    @ApiModelProperty(name = "状态 1 应用 2 失效", notes = "")
    private Integer status;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(name = "创建时间", notes = "")
    private Date createTime;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(name = "更新时间", notes = "")
    private Date updateTime;

}